package com.majun.huaxishe.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.majun.huaxishe.entity.Album;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.majun.huaxishe.entity.vo.AlbumVO;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 相册表 Mapper 接口
 * </p>
 *
 * @author 马骏
 * @since 2024-02-29
 */
public interface AlbumMapper extends BaseMapper<Album> {

    Page<AlbumVO> queryPage(Page<AlbumVO> page,
                            @Param("status")Integer status,
                            @Param("name")String name,
                            @Param("themeId")Integer themeId);

    void changeShow(Integer flag);
}
